<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>v-model 实例</title>
	<script type="text/javascript" src="../assets/js/vue.js"></script>
</head>
<body>
	<h1>v-model 实例</h1>

	<hr>
	<div id="app">
		<p>双向数据绑定</p>
		<p>{{message}}</p>
		<input type="text" v-model="message">
	</div>

</body>
<script type="text/javascript">
var app = new Vue({
	el:'#app',
	data:{
		message:'ni'
	},
	
	
})

</script>
</html>